////////////////////////////////////////////////////////////////////////////////
// Z-Day Project File                                                         //
// -------------------------------------------------------------------------- //
// Filename:   /entities/weapons/weapon_submachinegun/shared.lua              //
// Type:       Shared                                                         //
// Contents:   "Submachine Gun" SWEP.                                         //
////////////////////////////////////////////////////////////////////////////////

if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end

SWEP.Base						= "weapon_zd_base"

SWEP.ViewModel					= "models/weapons/v_smg_mp5.mdl"
SWEP.WorldModel					= "models/weapons/w_smg_mp5.mdl"

SWEP.ViewModelFOV				= 82
SWEP.ViewModelFlip				= true
SWEP.IronSightsPos				= Vector( 4.7, -4, 2 )
SWEP.IronSightsAng				= Vector( 0, 0, 0 )

SWEP.SafetyPos					= Vector(0, 0, 0)
SWEP.SafetyAng					= Vector(-33.8756, -48.584, 46.5979)


SWEP.Weight						= 5
SWEP.HoldType					= "smg"
SWEP.GunSmoke					= true
SWEP.ShowIndividualRounds		= false

SWEP.Primary.Sound				= Sound( "Weapon_MP5Navy.Single" )
SWEP.Primary.Recoil				= 0.5
SWEP.Primary.Damage				= 20
SWEP.Primary.NumShots			= 1
SWEP.Primary.Cone				= 0.03
SWEP.Primary.NoCone				= false
SWEP.Primary.Delay				= 0.08
SWEP.Primary.ClipSize			= 32
SWEP.Primary.DefaultClip		= 32
SWEP.Primary.Automatic			= true
SWEP.Primary.Ammo				= "SMG1"

SWEP.Secondary.ClipSize			= -1
SWEP.Secondary.DefaultClip		= -1
SWEP.Secondary.Automatic		= false
SWEP.Secondary.Ammo				= "none"

SWEP.KillString1				= "mowed down"
SWEP.KillString2				= "with his submachine gun"
